package ccc;

import java.sql.SQLOutput;
import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for (int i = 1; i < 10; i++) {
            boolean b=true;
            for (int j=2; j < i; j++) {
                if(i%j==0) {
                    b=false;
                    break;
                }
            }
            if (b){
                System.out.printf(i+",");
                int []a={i};
            }
        }
        System.out.println();
    }
}
